package com.oracleoaec.util;

import java.util.Scanner;

public class ScannerUtil {
	private static Scanner scanner = new Scanner(System.in);
	
	public static Scanner getScanner(){
		return scanner;
	}
	
	public static String next(){
		return scanner.next();
	}
	
	public static String nextLine(){
		return scanner.nextLine();
	}
	
	public static int nextInt(){
		return scanner.nextInt();
	}
	
	public static void closeScanner(){
		if(scanner!=null){
			scanner.close();
		}
	}
}
